package com.sdy.healthcode.biz.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@ApiModel(value = "行动轨迹")
public class PeopleActionDTO {

    /**
     * bayonetManageId
     */
    @ApiModelProperty(value = "bayonetManageId")
    private Integer bayonetManageId;


    /**
     * 记录时间
     */
    @ApiModelProperty(value = "记录时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date recordTime;

    /**
     * 楼宇
     */
    @ApiModelProperty(value = "楼宇")
    private Integer building;

    /**
     * 楼宇
     */
    @ApiModelProperty(value = "楼宇")
    private String buildingStr;

    /**
     * 楼层
     */
    @ApiModelProperty(value = "楼层")
    private Integer floor;

    /**
     * 楼层
     */
    @ApiModelProperty(value = "楼层")
    private String floorStr;

    /**
     * 楼层
     */
    @ApiModelProperty(value = "科室")
    private Integer department;

    /**
     * 楼层
     */
    @ApiModelProperty(value = "科室")
    private String departmentStr;

    /**
     * 卡口
     */
    @ApiModelProperty(value = "卡口")
    private String bayonetName;

    /**
     * 进/出
     */
    @ApiModelProperty(value = "进/出")
    private Integer action;

}
